package com.palmwindActivity.proto;

public class ProtoBuf {
String objType;
    
	byte[] bufferData;
    
    public String getObjType() 
    {
		return objType;
	}

	public void setObjType(String objType) 
	{
		this.objType = objType;
	}

	public byte[] getBufferData()
	{
		return bufferData;
	}

	public void setBufferData(byte[] bufferData)
	{
		this.bufferData = bufferData;
	}
	
	public String toString()
	{
		StringBuffer strBuffer = new StringBuffer();
		strBuffer.append(" ObjectType : " + objType);
		if(bufferData != null && bufferData.length > 0)
		{
		    strBuffer.append(" BufferData Size : " + bufferData.length);	
		}
		else
		{
			strBuffer.append(" BufferData Size is zero");
		}
		return strBuffer.toString();
	}

}
